<%@ include file="../common/top.jsp" %>

<div id="Catalog">
    <%--<stripes:form beanclass="org.mybatis.jpetstore.web.actions.AccountActionBean" focus="">--%>
    <form action="editAccount" method="post">
        <h3>User Information</h3>

        <table>
            <tr>
                <td>User ID:</td>
                <td>${sessionScope.account.username}</td>
            </tr>
            <tr>
                <td>New password:</td>
                <td><%--<stripes:text name="password" />--%>
                    <input type="password" name="password" placeholder="${sessionScope.account.password}">
                </td>
            </tr>
            <tr>
                <td>Repeat password:</td>
                <td><%--<stripes:text name="repeatedPassword" />--%>
                    <input type="password" name="repeatedPassword" placeholder="${sessionScope.account.password}">
                </td>
            </tr>
        </table>
        <p style="color:red;">${sessionScope.message}</p>

        <%@ include file="accountFields.jsp" %>

        <%--<stripes:submit name="editAccount" value="Save Account Information" />--%>
        <input type="submit" value="Save Account Information">
    </form>
    <%--</stripes:form>--%>
    <%--<stripes:link
beanclass="org.mybatis.jpetstore.web.actions.OrderActionBean"
event="listOrders">My Orders</stripes:link>--%>
    <a href="searchOrder">My Orders</a>

</div>

<%@ include file="../common/bottom.jsp" %>
